import request from '@/utils/request';

//新增
export async function addTag(params) {
  return request('/b/tags/add', {
    method: 'POST',
    data: params,
  });
}

export async function queryList(params) {
  return request('/b/tags/queryPageList', {
    method: 'POST',
    data: params,
  });
}

//数据库分组删除
export async function deleteTag(params) {
  return request('/b/tags/delete', {
    method: 'POST',
    data: params,
  });
}


export async function updateTag(params) {
  return request('/b/tags/update', {
    method: 'POST',
    data: params,
  });
}
